﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace 战棋模拟器
{
    class 食腐土狼:Minion
    {
        public 食腐土狼():base()
        {
            buff = 1;
            Star = 2;
            Attack = 2;
            Health = 2;
            Race = race.beast;
        }


        public override void OnDie(Minion m)
        {
            if (m != this && (m.Race == race.beast||m.Race == race.all))
            {
                Attack += 2*buff;
                Health += buff;
            }
        }


        public override Minion NewOne()
        {
            return new 食腐土狼();
        }
    }


    class 食腐土狼_金色 : 食腐土狼
    {
        public 食腐土狼_金色() : base()
        {
            Attack *= 2;
            Health *= 2;
            count *= 2;
            buff *= 2;
        }

        public override Minion NewOne()
        {
            return new 食腐土狼_金色();
        }
    }
}
